Reactive Programming with RxJS: Untangle Your Asynchronous JavaScript Code (Paperback)

Reactive Programming with RxJS: Untangle Your Asynchronous JavaScript Code (Paperback)

作者: Sergi Mansilla
出版社: Pragmatic Bookshelf
出版在: 2015-12-19
ISBN-13: 9781680501292
ISBN-10: 1680501291
裝訂格式: Paperback
總頁數: 144 頁





內容描述


Reactive programming is revolutionary. It makes asynchronous programming cleaner, intuitive, and robust. Discover how to use the RxJS library to write programs in a simpler way, unifying asynchronous mechanisms such as callbacks and promises into a single, powerful construct. Learn to think about your programs as streams of data that you can transform by expressing what should happen, instead of having to painstakingly program how it should happen. You'll be able to handle real-world concurrency and write complex flows of events in your applications with ease.Create highly concurrent applications while writing simpler code using the Reactive Extensions for JavaScript (RxJS), a set of libraries for event composition. Programming real-world applications in JavaScript involves lots of asynchronous events--you might end up spending more time coordinating asynchronous code in your program than writing its actual functionality. This book introduces concepts and tools from reactive programming that will help you write cleaner and more robust asynchronous programs.Find out about Observable sequences, a unifying data type to write highly concurrent code. Discover Schedulers and change the concept of time in your applications, making asynchronous testing sane again. Along the way you'll see real-world examples for the browser and Node.js, including a real-time earthquake visualization in 20 lines of code and a frantic shoot-'em-up space videogame. You'll also use Cycle.js - a modern, fully reactive web framework - to make a whole new breed of web applications.By the end of the book, you'll know how to apply reactive programming to solve complex problems, build efficient programs with reactive user interfaces, and write your code more declaratively.What You Need:A modern web browser, Node.JS installed in your computer, and the RxJS JavaScript library.




相關書籍

學習 JavaScript 數據結構與算法, 2/e

作者 洛伊安妮·格羅納 (Loiane Graner)

2015-12-19

網頁設計達人講座

作者 葉彥志

2015-12-19

微服務架構與實踐, 2/e

作者 王磊 馬博文 張琦

2015-12-19